<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + TS</title>
  </head>
  <body style="padding: 40px">
    <h1>Tooltip</h1>

    <div class="tooltip">
      <button class="tooltip-trigger">Hover me</button>
      <div class="tooltip-positioner" hidden>
        <div class="tooltip-content">This is a helpful tooltip</div>
      </div>
    </div>

    <script type="module" src="./tooltip.ts"></script>
  </body>
</html>